package com.app.service.marketprocess;

import com.app.SpringAnnotationDef;
import com.app.dao.admin.UserDao;
import com.app.dao.basesetting.GoodsDao;
import com.app.dao.marketprocess.OrderDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created with IntelliJ IDEA.
 * User: cnprinces
 * Date: 13-1-27
 * Time: 下午3:39
 * To change this template use File | Settings | File Templates.
 */

@Service(SpringAnnotationDef.ORDERINFO_SERVICE)
public class OrderServices {

    @Resource(name = SpringAnnotationDef.ORDERINFO_DAO)
    private OrderDao dao;

    @Resource(name = SpringAnnotationDef.USER_DAO)
    private UserDao userDao;

    @Resource(name = SpringAnnotationDef.GOODS_DAO)
    private GoodsDao goodsDao;


    public GoodsDao getGoodsDao() {
        return goodsDao;
    }

    public void setGoodsDao(GoodsDao goodsDao) {
        this.goodsDao = goodsDao;
    }

    public UserDao getUserDao() {
        return userDao;
    }

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    public OrderDao getDao() {
        return dao;
    }

    public void setDao(OrderDao dao) {
        this.dao = dao;
    }
}
